/* Reset */


/* Full-Screen Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 1.5s ease-in-out;
    overflow: visible;
    z-index: 1; /* Ensure hero content is above bubbles */
}

.career-tagline {
    background: #fcb401;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 4vw;
    font-weight: bold;
    margin-top: 10px;
    max-width: 90%;
    line-height: 1.3;
}

.highlight-text {
    color: #19C0FF;
}

.hero-description {
    color: #000000;
    font-size: 2vw;
    margin: 15px 0 25px;
    max-width: 80%;
    font-family: 'Dancing Script', cursive;
    font-weight: bold;
}

/* General button styles */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    z-index: 2; /* Ensure buttons are clickable */
    position: relative;
}

.job-browse-btn, .how-works-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    pointer-events: auto; /* Ensures buttons are clickable */
}

/* Browse Jobs Button */
.job-browse-btn {
    background: linear-gradient(135deg, #fb2b60, #19C0FF);
    color: white;
    border: none;
}

.job-browse-btn:hover {
    background: linear-gradient(135deg, #fb2b60, #19C0FF);
    transform: translateY(-3px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

/* How It Works Button */
.how-works-btn {
    background: white;
    color: #19C0FF;
    border: 2px solid #7B1FA2;
}

.how-works-btn:hover {
    background: #19C0FF;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Floating Transparent Bubbles */
.animated-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0; /* Ensures bubbles stay in the background */
    pointer-events: none; /* Prevents bubbles from blocking buttons */
}

.bubble-style {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3; /* Increase opacity to make them visible */
    animation: float 6s infinite ease-in-out alternate;
}

/* Bubble Colors & Positions */
#bubble-one { width: 80px; height: 80px; top: 10%; left: 15%; background: rgba(255, 0, 0, 0.5); animation-delay: 0.5s; }
#bubble-two { width: 100px; height: 100px; bottom: 15%; right: 20%; background: rgba(0, 255, 0, 0.5); animation-delay: .4s; }
#bubble-three { width: 120px; height: 120px; top: 50%; left: 90%; background: rgba(0, 0, 255, 0.5); animation-delay: 1s; }
#bubble-four { width: 90px; height: 90px; bottom: 10%; left: 30%; background: rgba(255, 165, 0, 0.5); animation-delay: .7s; }
#bubble-five { width: 70px; height: 70px; top: 15%; right: 10%; background: rgba(128, 0, 128, 0.5); animation-delay: .6s; }
#bubble-six { width: 110px; height: 110px; bottom: 40%; right: 90%; background: rgba(0, 255, 255, 0.5); animation-delay: 1s; }

/* Bubble Animation */
@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-30px); }
}

/* Ensure Bubbles Are Behind Content */
.hero-section {
    position: relative;
    z-index: 2; /* Places hero content above bubbles */
}


/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}



/* Why Work With Us Section */
.work-benefits {
    width: 100%;
    padding: 60px 5%;
    background: #f9f9f9;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.work-benefits.visible {
    opacity: 1;
    transform: translateY(0);
}

.work-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.benefits-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.benefit-box {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: #eff2f360;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-box:hover {
    transform: scale(1.02);
}

/* Job Openings Section */
.available-jobs {
    width: 100%;
    padding: 60px 5%;
    text-align: center;
    background-color: #f9f9f9;
}

.jobs-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.jobs-listing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.job-card-style {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 320px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: left;
    position: relative;
}

.job-card-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.job-role {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.job-location {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

.job-type-tag {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    background-color: #28c76f;
    border-radius: 5px;
    position: absolute;
    top: 15px;
    right: 15px;
}

.remote-job {
    background-color: #0098db;
}

.apply-button {
    color: #28c76f;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-top: 15px;
    transition: color 0.3s ease-in-out;
}

.apply-button:hover {
    color: #1b9c59;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 6vw;
    }
    .hero-description {
        font-size: 3vw;
    }
    .job-browse-btn, .how-works-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 7vw;
    }
    .hero-description {
        font-size: 4vw;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
}


/* Life at ReachCure Section */
/* Life at ReachCure Section */
.life-section {
    width: 100%;
    background: white;
    text-align: center;
    padding: 80px 5%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.life-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Heading Styling */
.life-heading {
    font-size: 2.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.life-heading span {
    color: #19C0FF;
}

/* Intro Paragraph */
.life-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Container for Cards */
.life-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three cards per row */
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Each Feature Card */
.life-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
}

.life-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Icon Styling */
.life-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #19C0FF;
}

/* Title Styling */
.life-item h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Description Styling */
.life-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .life-container {
        grid-template-columns: repeat(2, 1fr); /* Two cards per row */
    }

    .life-heading {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .life-container {
        grid-template-columns: repeat(1, 1fr); /* One card per row */
    }

    .life-heading {
        font-size: 2.2rem;
    }
    
    .life-intro {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .life-heading {
        font-size: 2rem;
    }

    .life-intro {
        font-size: 0.9rem;
    }
}
